package com.itheima.tlias.exception;

//定义一个自定义异常类（如 BusinessException），用于抛出业务逻辑错误：
public class BusinessException extends RuntimeException {
    private int code;

    public BusinessException( String message) {
        super(message);
    }

    public int getCode() {
        return code;
    }
}